#define _CRT_SECURE_NO_WARNINGS 1
int mostWordsFound(char** sentences, int sentencesSize) {
    int wordsize = 1;
    int max = 1;
    for (int i = 0; i < sentencesSize; i++)
    {
        wordsize = 1;
        for (int j = 0; j < strlen(sentences[i]); j++)
        {
            if (sentences[i][j] == ' ')
                wordsize++;
        }
        if (wordsize > max)
            max = wordsize;
    }
    return max;
}